
#

ifeq ($(USE_CLANG) , 1)
CC = clang.exe
CXX = clang++.exe
else
CC = gcc.exe
CXX = g++.exe
endif

AR = ar.exe

OBJDIR = obj
BINDIR = bin

# for GNU mingw-w64 compiler
CFLAGS_BASE = -c -municode -mconsole -DWIN32 -DUNICODE -D_UNICODE
LFLAGS_BASE = -municode -mconsole


ifeq ($(BUILD) , release)
	CFLAGS_BASE += -O2
	LFLAGS_BASE += -s
else
	CFLAGS_BASE += -g
	LFLAGS_BASE += 
endif


